﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChineseChess_Console
{
    class Program
    {
        static void Main(string[] args)
        {
           Board board = new Board();
           int temp = 0;
           board.Print();
            do{
                Console.Write("\n\tSide 1:\n");
               temp = board.Move(1);
               board.Print();
               if (temp != 0) // thang
                   break;
               Console.Write("\n\tSide 2:\n");
               temp = board.Move(2);
               board.Print();
            }while(temp == 0);

            Console.Write("Winner: "  + temp.ToString());
        }
    }
}
